package com.xiaojie.service.impl;

import com.xiaojie.annotation.Service;
import com.xiaojie.service.IDemoService;

import java.time.LocalDateTime;

/**
 * @ClassName DemoServiceImpl
 * @Author 廖杰
 * @Date 2021/6/7 21:30
 **/
@Service
public class DemoServiceImpl implements IDemoService {

    public String get(String name) {
        return new StringBuilder("你好,").append(name)
                .append(",现在时间为: ")
                .append(LocalDateTime.now().toString()).toString();
    }
}
